package com.inspinia.upms.client.listener;

import org.apache.shiro.session.Session;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TicketSessionListener  implements org.apache.shiro.session.SessionListener {

    Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public void onStart(Session session) {

    }

    @Override
    public void onStop(Session session) {
        logger.info("===============================");
        logger.info("stop session:" + session.getId());
    }

    @Override
    public void onExpiration(Session session) {
        onStop(session);
    }
}

